<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>

            <div id="basicform" class="subcontent"><!--contenttitle--><h3>Tambah Pengumuman</h3><br><br>
<?php echo validation_errors(); ?>
                    <form method="post" class="stdform" action="<?php echo site_url('admin/cproc_pengumuman_add');?>">
                        
                                            
                        <p>
                            <label>Judul</label>
                            <span class="field">

                                <input name="judul_pengumuman" type="text" class="longinput"/></span>
                            </p>
                        
                        <p>
                            <label>Isi Pengumuman</label>
                            <span class="field"><textarea name="isi_berita" id="editor1"></textarea></span> 
                        </p>
                                    <script>
CKEDITOR.replace( 'editor1', {
    filebrowserBrowseUrl: '<?php echo base_url();?>asseta/ckeditor/filemanagers/kcfinder/browse.php',
    filebrowserUploadUrl: '<?php echo base_url();?>asseta/ckeditor/filemanagers/kcfinder/upload.php',
    filebrowserImageWindowWidth: '640',
    filebrowserImageWindowHeight: '480'
});
            </script>
                        <p>
                            <label>Kategori</label>
                            <span class="field">
                            <?php 
                            echo form_dropdown('kategori', $option_kategori, 'default');
                            ?>
                            
                            </span>
                        </p>
                      
                        <p>
                        <p class="stdformbutton">

                            <button type="submit" class="submit radius2">Publish</button>
                            <input type="reset" class="reset radius2" value="Reset" />
                        </p>
                        
                        
                    </form>
